# import logging
import os

from utils.timestamp import create_timestamp
from pp.settings import LOG_PAHT


def create_log_filename(filename):
  _current_path = os.path.dirname(__file__)
  _path = os.path.join(_current_path, LOG_PAHT)
  
  return '{path}/{filename}_{timestamp}.log'.format(
    path = _path,
    filename = filename,
    timestamp = create_timestamp('%Y-%m-%d'))